import request from '@/utils/request'

// 查询头部数据
export const getHomeData = () => {
  return request({
    url: '/home/homeData',
    method: 'get'
  })
}

// 查询团对业绩
export const getTeamData = () => {
  return request({
    url: '/home/teamData',
    method: 'get'
  })
}

// 查询个人业绩
export const getPersonData = () => {
  return request({
    url: '/home/personData',
    method: 'get'
  })
}

// 查询个人业绩
export const getYearQuota = () => {
  return request({
    url: '/home/yearQuota',
    method: 'get'
  })
}

// 查询个人记录统计
export const getRecordList = () => {
  return request({
    url: '/home/atDayRecord',
    method: 'get'
  })
}



